#! /usr/bin/python3
# -*- coding: UTF-8 -*-

if __name__ == "__main__":
	raise Exception("不支持从这里调用")

__version__ = "1.0"
__all__ = ["MouseChshTemplateModel"]

from com.mousechsh.business.lib.model.MouseChshCommonModel import MouseChshCommonModel
from com.mousechsh.common.data.MouseChshField import MouseChshForeignStringField, \
	MouseChshJsonBinField, MouseChshStringField


class MouseChshTemplateModel(MouseChshCommonModel):
	'''
	消息模板模型
	'''

	Code = MouseChshStringField('Code')
	Type = MouseChshForeignStringField('TemplateType')
	Title = MouseChshJsonBinField('Title')
	Content = MouseChshJsonBinField('Content')
	Params = MouseChshJsonBinField('Params')

	class Meta:
		SchemaName = 'A_Message'
		TableName = 'T_Template'
